package com.ys.entity.storage;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_EstimatedCostDetail", catalog="Id")
public class TccEstimatedCostDetail extends BaseEntity<TccEstimatedCostDetail> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="int")
	private Integer id;
	@YsField(nameDataBase="Bid", nameJava="bid", typeDataBase="varchar")
	private String bid;
	@YsField(nameDataBase="CreateChangeId", nameJava="createChangeId", typeDataBase="bigint")
	private Long createChangeId;
	@YsField(nameDataBase="EffectStock", nameJava="effectStock", typeDataBase="tinyint")
	private Integer effectStock;
	@YsField(nameDataBase="CreationMethod", nameJava="creationMethod", typeDataBase="tinyint")
	private Integer creationMethod;
	@YsField(nameDataBase="DeclarationState", nameJava="declarationState", typeDataBase="tinyint")
	private Integer declarationState;
	@YsField(nameDataBase="DeliverState", nameJava="deliverState", typeDataBase="tinyint")
	private Integer deliverState;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="Vgsbm", nameJava="vgsbm", typeDataBase="varchar")
	private String vgsbm;
	@YsField(nameDataBase="VgsJc", nameJava="vgsJc", typeDataBase="varchar")
	private String vgsJc;
	@YsField(nameDataBase="ShopId", nameJava="shopId", typeDataBase="bigint")
	private Long shopId;
	@YsField(nameDataBase="ShopName", nameJava="shopName", typeDataBase="varchar")
	private String shopName;
	@YsField(nameDataBase="AuditingUser", nameJava="auditingUser", typeDataBase="varchar")
	private String auditingUser;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="AuditingTime", nameJava="auditingTime", typeDataBase="datetime")
	private Date auditingTime;
	@YsField(nameDataBase="InboundPlanId", nameJava="inboundPlanId", typeDataBase="varchar")
	private String inboundPlanId;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Integer getId() {
		return id;
	}
	public TccEstimatedCostDetail setId(Integer id) {
		this.id = id;
		return this;
	}
	public String getBid() {
		return bid;
	}
	public TccEstimatedCostDetail setBid(String bid) {
		this.bid = bid;
		return this;
	}
	public Long getCreateChangeId() {
		return createChangeId;
	}
	public TccEstimatedCostDetail setCreateChangeId(Long createChangeId) {
		this.createChangeId = createChangeId;
		return this;
	}
	public Integer getEffectStock() {
		return effectStock;
	}
	public TccEstimatedCostDetail setEffectStock(Integer effectStock) {
		this.effectStock = effectStock;
		return this;
	}
	public Integer getCreationMethod() {
		return creationMethod;
	}
	public TccEstimatedCostDetail setCreationMethod(Integer creationMethod) {
		this.creationMethod = creationMethod;
		return this;
	}
	public Integer getDeclarationState() {
		return declarationState;
	}
	public TccEstimatedCostDetail setDeclarationState(Integer declarationState) {
		this.declarationState = declarationState;
		return this;
	}
	public Integer getDeliverState() {
		return deliverState;
	}
	public TccEstimatedCostDetail setDeliverState(Integer deliverState) {
		this.deliverState = deliverState;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TccEstimatedCostDetail setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public String getVgsbm() {
		return vgsbm;
	}
	public TccEstimatedCostDetail setVgsbm(String vgsbm) {
		this.vgsbm = vgsbm;
		return this;
	}
	public String getVgsJc() {
		return vgsJc;
	}
	public TccEstimatedCostDetail setVgsJc(String vgsJc) {
		this.vgsJc = vgsJc;
		return this;
	}
	public Long getShopId() {
		return shopId;
	}
	public TccEstimatedCostDetail setShopId(Long shopId) {
		this.shopId = shopId;
		return this;
	}
	public String getShopName() {
		return shopName;
	}
	public TccEstimatedCostDetail setShopName(String shopName) {
		this.shopName = shopName;
		return this;
	}
	public String getAuditingUser() {
		return auditingUser;
	}
	public TccEstimatedCostDetail setAuditingUser(String auditingUser) {
		this.auditingUser = auditingUser;
		return this;
	}
	public Date getAuditingTime() {
		return auditingTime;
	}
	public TccEstimatedCostDetail setAuditingTime(Date auditingTime) {
		this.auditingTime = auditingTime;
		return this;
	}
	public String getInboundPlanId() {
		return inboundPlanId;
	}
	public TccEstimatedCostDetail setInboundPlanId(String inboundPlanId) {
		this.inboundPlanId = inboundPlanId;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccEstimatedCostDetail setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccEstimatedCostDetail setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccEstimatedCostDetail setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccEstimatedCostDetail tccEstimatedCostDetail(
		String bid,
		Long createChangeId,
		Integer effectStock,
		Integer creationMethod,
		Integer declarationState,
		Integer deliverState,
		String remark,
		String vgsbm,
		String vgsJc,
		Long shopId,
		String shopName,
		String auditingUser,
		Date auditingTime,
		String inboundPlanId,
		Integer status
			) {
		TccEstimatedCostDetail entity = new TccEstimatedCostDetail();
		entity.setBid(bid);
		entity.setCreateChangeId(createChangeId);
		entity.setEffectStock(effectStock);
		entity.setCreationMethod(creationMethod);
		entity.setDeclarationState(declarationState);
		entity.setDeliverState(deliverState);
		entity.setRemark(remark);
		entity.setVgsbm(vgsbm);
		entity.setVgsJc(vgsJc);
		entity.setShopId(shopId);
		entity.setShopName(shopName);
		entity.setAuditingUser(auditingUser);
		entity.setAuditingTime(auditingTime);
		entity.setInboundPlanId(inboundPlanId);
		entity.setStatus(status);
		return entity;
	}
}